﻿namespace PublicModels.Results.TravelSubjectResults;

/// <summary>
/// 路线规划查询结果
/// </summary>
public class RoutePlanningResult : Result, IAPIResultProvider<Directionlite>
{
    public QueryApiResult<Directionlite>? QueryResultFrom3rdPartyApi { get; set; }

    /// <summary>
    /// 最佳路径（使用中途点顺序标号表示）
    /// </summary>
    public int[]? BestRouteByID { get; set; }

    /// <summary>
    /// 路程总距离
    /// </summary>
    public int Distance { get; set; }

    /// <summary>
    /// 路程总耗时
    /// </summary>
    public int Duration { get; set; }

    /// <summary>
    /// 路程总花费
    /// </summary>
    public int Toll { get; set; }

    /// <summary>
    /// 从起点到终点的总步骤
    /// </summary>
    public List<Step>? Steps { get; set; }
}

